package com.onlineexam.mapper;

import com.onlineexam.bean.TianKong;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TianKongMapper {
    //填空题列表
    @Select("SELECT b.*,tiankong_id as 'tiankongId',createdby as 'createdBy',create_time as 'createTime' from tiankong b order by create_time desc;")
    List<TianKong> list();

}
